package com.sky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "添加员工数据传输对象")
public class EmployeeDTO implements Serializable {

    //主键不需要传入
    @ApiModelProperty(value = "id",hidden = true)
    private Long id;

    @ApiModelProperty(value = "用户名",example = "2580466402",required = true)
    private String username;

    @ApiModelProperty(value = "姓名",example = "王小虎",required = true)
    private String name;

    @ApiModelProperty(value = "手机号",example = "17763452605",required = true)
    private String phone;

    @ApiModelProperty(value = "性别",example = "男",required = true)
    private String sex;

    @ApiModelProperty(value = "身份证号",example = "330123199902222222",required = true)
    private String idNumber;

}
